package com.danjinwulian.common.core.domain.entity;

import com.danjinwulian.common.annotation.Excel;
import com.danjinwulian.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 住客用电对象 iot_tenant_power
 * 
 * @author ken.h
 * @date 2022-08-23
 */
public class IotTenantPower extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 住客用电id */
    private Long tenantPowerId;

    /** 住客id */
    @Excel(name = "住客id")
    private Long tenantId;

    /** 设备id */
    @Excel(name = "设备id")
    private Long deviceId;

    /** 用电类型（10扫码开电 11远程通电 12自动通电 01远程断电 02强制断电 03人走断电） */
    @Excel(name = "用电类型", readConverterExp = "10=扫码开电 11=远程通电 12=自动通电 01=远程断电 02=强制断电 03=人走断电")
    private String powerType;

    /** 状态（0失败 1成功） */
    @Excel(name = "状态", readConverterExp = "0=失败,1=成功")
    private String status;

    private String usePowerDate;

    private String savePowerMonth;
    private String savePowerDate;
    private int savePowerDuration;

    /** 用电记录 */
    private List<?> usePowerRecords;
    /** 省电记录 */
    private List<?> savePowerRecords;

    @Excel(name = "微信头像")
    private String avatar;

    /** 微信昵称 */
    @Excel(name = "微信昵称")
    private String nickname;

    @Excel(name = "公寓名称")
    private String hotelName;

    @Excel(name = "设备名称")
    private String deviceName;

    @Excel(name = "房间名称")
    private String roomName;

    @Excel(name = "用电类型")
    private String circuitSwitch;

    public void setTenantPowerId(Long tenantPowerId) 
    {
        this.tenantPowerId = tenantPowerId;
    }

    public Long getTenantPowerId() 
    {
        return tenantPowerId;
    }
    public void setTenantId(Long tenantId) 
    {
        this.tenantId = tenantId;
    }

    public Long getTenantId() 
    {
        return tenantId;
    }
    public void setDeviceId(Long deviceId) 
    {
        this.deviceId = deviceId;
    }

    public Long getDeviceId() 
    {
        return deviceId;
    }
    public void setPowerType(String powerType) 
    {
        this.powerType = powerType;
    }

    public String getPowerType() 
    {
        return powerType;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getUsePowerDate() {
        return usePowerDate;
    }

    public void setUsePowerDate(String usePowerDate) {
        this.usePowerDate = usePowerDate;
    }

    public String getSavePowerMonth() {
        return savePowerMonth;
    }

    public void setSavePowerMonth(String savePowerMonth) {
        this.savePowerMonth = savePowerMonth;
    }

    public String getSavePowerDate() {
        return savePowerDate;
    }

    public void setSavePowerDate(String savePowerDate) {
        this.savePowerDate = savePowerDate;
    }

    public int getSavePowerDuration() {
        return savePowerDuration;
    }

    public void setSavePowerDuration(int savePowerDuration) {
        this.savePowerDuration = savePowerDuration;
    }

    public List<?> getUsePowerRecords() {
        return usePowerRecords;
    }

    public void setUsePowerRecords(List<?> usePowerRecords) {
        this.usePowerRecords = usePowerRecords;
    }

    public List<?> getSavePowerRecords() {
        return savePowerRecords;
    }

    public void setSavePowerRecords(List<?> savePowerRecords) {
        this.savePowerRecords = savePowerRecords;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getHotelName() {
        return hotelName;
    }

    public void setHotelName(String hotelName) {
        this.hotelName = hotelName;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getRoomName() {
        return roomName;
    }

    public void setRoomName(String roomName) {
        this.roomName = roomName;
    }

    public String getCircuitSwitch() {
        return circuitSwitch;
    }

    public void setCircuitSwitch(String circuitSwitch) {
        this.circuitSwitch = circuitSwitch;
    }
}
